import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

Vue.config.productionTip = false;

Vue.filter("filnum", (val) => {
  return val + "$";
});
Vue.filter("filnum2", (val) => {
  return val + "%";
});
//定义全局过滤器 在任何组件都能用

// Vue.directive("",()=>{

// })
//全局指令

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
